CPSW\Gateway\Stripe\Payment_Request_Api D

Total Complexity 144
Dependencies 6
Dependents 1
Total lines 882
Lines of code 616
Logical lines of code 362
Comment lines 114
Methods 19
Properties 0

Methods 19

Method Rating Maintainability Complexity Lines of code
payment_request_button()
B
34 20 98
ajax_selected_product_data()
B
37 17 68
build_display_items()
A
37 13 77
get_product_data()
A
39 13 66
get_shipping_options()
A
41 12 54
payment_request_button_separator()
A
47 13 36
ajax_add_to_cart()
A
50 9 26
is_selected_location()
A
58 9 15
calculate_shipping()
A
45 7 41
__construct()
S
48 6 31
get_product()
S
60 4 13
is_page_supported()
S
70 4 6
ajax_update_shipping_option()
S
57 3 15
ajax_checkout()
S
60 3 13
ajax_update_shipping_address()
S
56 2 18
ajax_get_cart_details()
S
57 2 17
update_shipping_method()
S
65 3 9
get_product_price()
S
68 3 7
localize_product_data()
S
71 1 6